<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');?>
<?
if ($this->uri->segment(1) != '' && $this->uri->segment(1) != 'catalog') {
	if ($out['page']['page_show_h1'] == 1) echo "<h1>".$out['page']['page_title']."</h1>";
	if ($out['page_text']) {
		echo htmlspecialchars_decode($out['page_text']);
		echo "<br class='cc' />";
	}
	if ($out['from_model']) echo htmlspecialchars_decode($out['from_model']);
} else {
	if ($out['from_model']) echo htmlspecialchars_decode($out['from_model']);
	if ($out['page']['page_show_h1'] == 1) echo "<h1>".$out['page']['page_title']."</h1>";
	if ($out['page_text']) {
		if ($this->uri->segment(1) != "") echo htmlspecialchars_decode($out['page_text']);
		echo "<br class='cc' />";
	}
}
?>